package com.guo.bootvue.service.impl;

import com.guo.bootvue.entity.User;
import com.guo.bootvue.mapper.UserMapper;
import com.guo.bootvue.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther Heart Guo
 * @Date 2021/12/20-11:31
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(String username, String password) {
        return userMapper.login(username,password);
    }
}
